﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FxhjpgWeb.WebSite.Code
{
    public class PageBase : Ajeelee.Core.Web.PageBase
    {
        protected string typeName = "/pfdn";
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            try
            {
                if (this.Request.Url.Segments.Length > 1)
                {
                    switch (this.Request.Url.Segments[1])
                    {
                        case "ylx/":
                            typeName = "/ylx";
                            break;
                        case "sstj/":
                            typeName = "/sstj";
                            break;
                    }
                }

            }
            catch (Exception ex)
            {
                //WriteErrorLog(ex);
            }
        }
    }
}